package cc.imos.medium;

import cc.imos.entity.SysAction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 登录结果
 *
 * Created by asher on 2017/4/25.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "登录响应对象")
public class LoginRest {
    @ApiModelProperty(value = "此次会话令牌")
    private String accessToken;

    @ApiModelProperty(value = "此次会话秘钥")
    private String accessKey;

    @ApiModelProperty(value = "此次会话过期时间")
    private Long expiresTime;

    @ApiModelProperty(value = "能访问的功能")
    private List<String> servletPaths;
}
